package com.isoft.hospital.dao;

import com.isoft.hospital.entity.Yaopinjiaofei;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface YaopinjiaofeiDao {
    @Select("select * from yaopingjiesua")
    List<Yaopinjiaofei> selectAll();
    @Select("select * from yaopingjiesua where doc_id=#{doc_id}")
    List<Yaopinjiaofei> queryByDocid(int doc_id);
}

